-- GENERATED SPELL FOR [Proto-Whelp] --


function spell0_23688(pUnit, Event) --@Flame Breath,n/a--
pUnit:FullCastSpellOnTarget(51218,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_23688', 2000, 1)
end

function Sorts_23688(pUnit, Event)
local choix_sorts_23688 = math.random(0, 0)
if choix_sorts_23688 == 0 then
pUnit:RegisterEvent('spell0_23688', 1, 1)
end
end

function mob23688_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_23688', math.random(1500, 3000), 1)
end

function mob23688_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23688_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23688_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(23688, 1, 'mob23688_Action')
RegisterUnitEvent(23688, 2, 'mob23688_Leave')
RegisterUnitEvent(23688, 3, 'mob23688_Kill')
RegisterUnitEvent(23688, 4, 'mob23688_Die')
